#include"list.h"

int main(void)
{ 
     node * ha = list_init();
     node * hb = list_init();
     int arr1[]= {1,3,4,4,9,10};
     int arr2[]= {2,3,4,13,13,14};
     // 14 13 13 10 9 4 4 4 3 2 1
     int n = sizeof(arr1) / sizeof(*arr1);
     int m = sizeof(arr2) / sizeof(*arr2);

     list_create(ha, arr1, n);
     list_show(ha);

     list_create(hb, arr2, m);
     list_show(hb);

     merge(ha,hb);    //排序
     list_show(ha);

     turn(ha);       //翻转
     list_show(ha);

     return 0;
}
